[USER (data scientist)]: Thank you. Now, I need to update the odds for each affected match, considering the new competitor's performance (win rate). Please provide a dataframe with Match IDs, Original Odds, and Updated Odds, where the odds are adjusted based on the new competitor's win rate and a performance weight factor.
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd
import numpy as np
import pickle

atp_tennis = pd.read_csv('atp_tennis.csv')

# YOUR SOLUTION BEGIN:
<code1>
[COMPLETE YOUR CODE] 
</code1>
# YOUR SOLUTION END

print(updated_odds_df)

# save data
pickle.dump(updated_odds_df,open("./pred_result/updated_odds_df.pkl","wb"))

---END CODE TEMPLATE---

[YOU (AI assistant)]: To update the odds for each affected match, considering the new competitor's performance, you can use the following code:
'''
import pandas as pd
import numpy as np
import pickle

atp_tennis = pd.read_csv('atp_tennis.csv')

# YOUR SOLUTION BEGIN:
